<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
	</head>
	<body id="master">

		<script type="text/javascript">
function doQuery() {
	document.form1.action = "${path}/business/pol/index/policyreturnquery";
	document.form1.submit();
}
$(function() {
	fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})
</script>
		</head>
		<body id="master">
			<sfa:mainHeader></sfa:mainHeader>
			<form action="" name="form1" method="post">
				<div class="webpart3 contentarea">
					<div class="webpart-head">
						<div class="webpart-head-item">
							理赔查询
							<div class="tools-btn">
								<a href="####" id="fullScreen"><span> <img
											src="${path}/statics/images/qp.gif"
											style="margin-right: 4px; margin-bottom: -3px;" />全屏</span> </a>
							</div>
						</div>
					</div>
					<div class="webpart-main">
						<div class="webpart-main-item" style="padding-top: 12px;">
							<div class="search">
								<table width="100%" border="0" cellspacing="0" cellpadding="10"
									class="table_form">
									<tbody>
										<tr>
											<td align="right">
												营销员姓名：
											</td>
											<td>
												<input name="AGENTNAME" type="text" value="${AGENTNAME}"
													size="17" />
											</td>
											<td align="right">
												营销员证件号：
											</td>
											<td>
												<input name="AGENTIDNO" type="text" value="${AGENTIDNO}"
													size="17" />
											</td>
											<td align="right">
												营销员代码：
											</td>
											<td>
												<input name="AGENTCODE" type="text" value="${AGENTCODE}"
													size="17" />
											</td>
										</tr>
										<tr>
											<td align="right">
												投保单号：
											</td>
											<td>
												<input name="APPLICATIONNO" type="text" size="17"
													value="${APPLICATIONNO}" />
											</td>
											<td align="right">
												投保人姓名：
											</td>
											<td>
												<input name="APPLICANTNAME" type="text"
													value="${APPLICANTNAME}" size="17" />
											</td>
											<td align="right">
												投保人证件号码：
											</td>
											<td>
												<input name="APPLICANTIDNO" type="text"
													value="${APPLICANTIDNO}" size="17" />
											</td>
										</tr>
										<tr>
											<td align="right">
												保单号：
											</td>
											<td>
												<input name="CONTRACTNO" type="text" size="17"
													value="${CONTRACTNO}" />
											</td>
											<td>
												&nbsp;
											</td>
											<td>
												&nbsp;
											</td>
											<td>
												&nbsp;
											</td>
											<td>
												<a href="javascript:" onclick="doQuery()" class="linkbtn"><span>查
														询</span> </a>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- 查詢列表 -->
							<div id="mylist" style="height: 340px;" class="dlist">
								<table id="mytable" cellpadding="0" cellspacing="0"
									class="dg_borderstyle  trStyleTable"
									style="margin-top: 0px; text-align: center;">
									<tr>
										<th>
											<span>投保单号</span>
										</th>
										<th>
											<span>保单号</span>
										</th>
										<th width="60px">
											<span>营销员姓名</span>
										</th>
										<th>
											<span>营销员证件号</span>
										</th>
										<th width="60px">
											<span>营销员代码&nbsp;&nbsp;&nbsp;</span>
										</th>
										<th>
											<span>所属机构&nbsp;&nbsp;&nbsp;</span>
										</th>
										<th width="60px">
											<span>投保人姓名</span>
										</th>
										<th width="125px">
											<span>投保人证件号码</span>
										</th>
										<th width="60px">
											<span>回执日期&nbsp;&nbsp;&nbsp;</span>
										</th>
									</tr>

									<c:forEach items="${pagination.resultList}" var="list">
										<tr>
											<td>
												${list.APPLICATIONNO }
											</td>
											<td>
												${list.CONTRACTNO}
											</td>
											<td>
												${list.AGENTNAME}
											</td>
											<td>
												${list.AGENTIDNO}
											</td>
											<td>
												${list.AGENTCODE}
											</td>
											<td>
												${list.BRANCHNAME}
											</td>
											<td>
												${list.APPLICANTNAME}
											</td>
											<td>
												${list.APPLICANTIDNO}
											</td>
											<td>
												${list.RETURNDATE}
											</td>
										</tr>
									</c:forEach>
								</table>

							</div>
							<c:if test="${not empty pagination.multiPage}">
								<div class="dg_pagerstyle">
									<div class="pageinfo">
										第${pagination.page }页 | 共${pagination.totalPages
										}页/${pagination.totalRows }条记录
									</div>
									<div class="pagebtn">
										${pagination.multiPage}
									</div>
								</div>
							</c:if>
						</div>
						<div class="webpart-foot">
							<div class="webpart-foot-item">
							</div>
						</div>
					</div>
				</div>
			</form>
			<sfa:mainFooter></sfa:mainFooter>
		</body>
</html>
